export const documentSidebarRoutes = [
    {
        permissions: ['document'],
        path: '/document',
        name: 'Document',
        component: () => import('@/layout/index.vue'),
        meta: {title: '公文管理', componentName: 'Document', icon: 'excel'},
        children: [
            {
                path: 'home',
                component: () => import('@/views/document/home/home.vue'),
                name: 'DocHome',
                meta: {title: '公文首页', icon: 'dashboard'}
            },
            {
                path: 'notifyMessage',
                component: () => import('@/views/document/notifyMessage/messageListMain.vue'),
                name: 'DocNotifyMessage',
                meta: {title: '公文通知消息', icon: 'log'}
            },
            {
                permissions: ['doc:fileTemplate:page'],
                path: 'template',
                component: () => import('@/views/document/fileTemplate/templateList.vue'),
                name: 'DocTemplate',
                meta: {title: '公文模板管理', icon: 'dict'}
            },
            {
                permissions: ['doc:redSheetTemplate:page'],
                path: 'redSheetTemplate',
                component: () => import('@/views/document/redSheetTemplate/templateList.vue'),
                name: 'DocRedSheetTemplate',
                meta: {title: '套红模板管理', icon: 'dict'}
            },
            {
                permissions: ['doc:my:page'],
                path: 'my',
                component: () => import('@/views/document/my/documentListMain.vue'),
                name: 'DocMy',
                meta: {title: '我的公文', icon: 'list'}
            },
            {
                permissions: ['doc:process:page'],
                path: 'process',
                component: () => import('@/views/document/process/documentListMain.vue'),
                name: 'DocProcess',
                meta: {title: '办理公文', icon: 'form'}
            },
            {
                permissions: ['doc:exchange'],
                path: 'exchange',
                component: () => import('@/views/document/exchange/documentListMain.vue'),
                name: 'DocExchange',
                meta: {title: '公文交换', icon: 'form'}
            },

        ]
    }
]